package day05;

//九九乘法表
public class MultiTable {
    public static void main(String[] args) {
//        int num = 6 ;
//        for (int i = 1;i<=num;i++){
//            System.out.print(i+"*"+num+"="+i*num+"\t");
//        }
//        System.out.println();
        for (int i = 1; i <= 9; i++) {
            for (int j = 1; j <= i; j++) {
                System.out.printf("%d*%d=%d\t", j, i, i * j);
            }
            System.out.printf("\n");
        }

    }
}
